package cn.net.msg.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.stereotype.Component;
@Component("province")
@Entity @Table(name = "tb_province")
public class TbProvince{

    @Id @Column(name = "Province_id",length=11)
    private int provinceId;
    @Column(name= "Province_name",length=100)
    private String provinceName;    


    public int getProvinceId() {
        return provinceId;
    }
    public void setProvinceId(int provinceId) {
        this.provinceId = provinceId;
    }


    public String getProvinceName() {
        return provinceName;
    }
    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }
}
